package com.qdc.datacenters.domain.query.corp;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author danmo
 * @date 2024-02-27 19:01
 **/
@Schema
@Data
public class SysCorpAddQuery {

    @Schema(description = "主键ID",hidden = true)
    private Long id;


    /**
     * 企业ID
     */
    @NotNull(message = "企业ID不能为空")
    @Schema(description = "企业ID")
    private String corpId;


    /**
     * 企业名称
     */
    @Schema(description = "企业名称")
    private String corpName;


    /**
     * 应用ID
     */
    @Schema(description = "应用ID")
    private Integer agentId;


    /**
     * 应用秘钥
     */
    @Schema(description = "应用秘钥")
    private String agentSecret;


    /**
     * 会话存档秘钥
     */
    @Schema(description = "会话存档秘钥")
    private String chatSecret;


    /**
     * 回调token
     */
    @Schema(description = "回调token")
    private String token;


    /**
     * 回调EncodingAESKey
     */
    @Schema(description = "回调EncodingAESKey")
    private String encodingAesKey;

    @Schema(description = "存档状态 0-关闭 1-开启")
    private Integer archiveStatus;

    @Schema(description = "消息解密公钥")
    private String encryptPublicKey;

    @Schema(description = "消息解密私钥")
    private String encryptRandomKey;

    @Schema(description = "消息解密私钥版本号")
    private Integer encryptVersion;
}
